#define _CRT_SECURE_NO_WARNINGS

#include <stdio.h>
#define NAME_MAX 30
#define ADDRESS_MAX 30
#define SEX_MAX 10
#define MAX 20

typedef struct PeopInfo
{
	char name[NAME_MAX];
	int tele;
	int age;
	char sex[SEX_MAX];
	char address[ADDRESS_MAX];
}PeopInfo;

typedef struct Contact
{
	PeopInfo data[MAX];
	int sz;
}Contact;